<div id="fecha_hora">
	<%= Time.now.strftime(DATETIME_FMT) %>
</div>
<div id="user_ops">
	<b><%=h current_user.login%></b> . <%= link_to 'inicio', :action=>'index', :controller=>'main'%> . 
	<%if current_user.mailbox[:inbox].mail_count(:unread) >0 %>
		<% cant = current_user.mailbox[:inbox].mail_count(:unread)%>
		<b><%=  link_to "#{cant} Mensaje#{(cant>1)?'s':''} Nuevo#{(cant>1)?'s':''}", :action=> 'mailbox', :box=>'no_leidos', :controller=>'messages'%></b>
	<%else%>
		<%=  link_to "mensajes", :action=> 'mailbox', :controller=>'messages'%>
	<%end%>
 	. <%=  link_to 'salir', :action=>'logout', :controller=>'account'%>
</div>